package controller;

import java.awt.event.KeyEvent;

//right now when lives is zero, it waits for user input to restart.
//we should give the user a prompt to restart or something

public class gameOver implements frogState {

	@Override
	public void handleInput(userInputController c, char keyinput) {
		if (keyinput == KeyEvent.VK_ENTER){
			c.model.setupGame();
			c.setState(c.onBankState);
		}
	}

	@Override
	public void frogHitEdge(userInputController userInputController) {
		// TODO Auto-generated method stub

	}

}
